#include <iostream>
using namespace std;

//Although this is a function object, it can't be adapted 
//by the function object adapter
class gt_n
{
	int value;
public:
	gt_n(int val) : value(val) { }

	bool operator() (int n) { return n > value; }
};
	
int main ( )
{
	gt_n f(4);

	cout << f(3) << endl;
	cout << f(5) << endl;

	return 0;
}
